﻿using System.ServiceModel;
using Sern.Abstracts.Tracker.DataContracts;

namespace Sern.Abstracts.Tracker.ServiceContracts
{
    [ServiceContract]
    public interface ITrackerMonitoringClient
    {
        [OperationContract(Name = "NotifyDataMovement", IsOneWay = true)]
        void Notify(EmissionNotice notice);

        [OperationContract(Name = "NotifyClientJoined", IsOneWay = true)]
        void Notify(ClientJoinedNotice notice);

        [OperationContract(Name = "NotifyClientLeft", IsOneWay = true)]
        void Notify(ClientLeftNotice notice);
    }
}
